package com;

import java.sql.Connection;
import java.sql.SQLException;

import com.db.ConnectionManager;

/**
 * Hello world!
 * 
 */
public class App {
    public static void main(String[] args) {
        
        ConnectionManager manager = ConnectionManager.instance();
        Connection conn =null;
        try {
            conn = manager.getConn();
        } catch (SQLException e) {
            e.printStackTrace();
        }finally{
            if(conn!=null){
                try {
                    conn.close();
                } catch (SQLException e) {
                    e.printStackTrace();
                }
            }
        }
    }
}
